package models

import "time"

// 卡号库，10位，从0000000001开始生成
type CardNumLib struct {
	Id          int64     `orm:"description(自增主键)"`
	School      *School   `orm:"rel(fk);null;default(0);description(学校id)"`
	Num         string    `orm:"description(卡号)"`
	Created     time.Time `orm:"auto_now_add;type(datetime);description(创建时间)"`
	CreatedShow string    `orm:"-"`
}
